<div id="featured-slider">
<div id="slider">
<div style="position: relative;" id="nivo-slider" class="front-slider nivoSlider">
	<?php foreach ($slide as $key => $value) { ?>
	<img style="display: none;" class="hide-img lzl" src="<?php echo 'uploads/slides/' .$value->image; ?>"
	alt="<?php echo $value->title; ?>" title="#caption<?php echo $key; ?>" height="470"
	width="750">	
	<?php } ?>
</div>


<div class="nivo-controlNav"></div>
<?php foreach ($slide as $key => $value) { ?>
<div id="caption<?php echo $key; ?>" class="nivo-html-caption">
	<span><a href="<?php echo $value->link; ?>" target="_blank" ><?php echo $value->title; ?></a></span>
	<p style="text-align: justify;"><?php echo $value->caption; ?></p>
</div>
<?php } ?>
</div>
</div>